package com.sakura.flowers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName order_card
 */
@TableName(value ="order_card")
@Data
public class OrderCard implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 花卉id
     */
    private Long flowerId;

    /**
     * 数量
     */
    private Integer num;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
